package day06.ext;

public class Demo01 {
    public static void main(String[] args) {
        test();
        test(1);
        test(1,2,3,4);
    }
    public void test(int age, double salary, String... str){

    }
    public static void test(int... age){
        for (int i=0; i<age.length; i++){
            System.out.println(age[i]);
        }
    }
}
